<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead"><em>导入表格</em>
            有赞导入->只适合导入有赞后台的订单。<br>
            淘宝导入->只适合导入淘宝后台的订单。<br>
            京东导入->只适合导入京东后台的订单。<br>
            微店导入->只适合导入微店后台的订单。<br>
            社区导入->只适合导入社群的订单，手动编辑表格标题，前后中不要加空格。如下：
            <br>数据来源,代理商ID,订单编号,下单时间,商品名称,版本,赠品,购买数量,收件人姓名,收件人手机,收货详细地址,寄件人,备注,赠品(下册)
            <br>代理商不存在 -> 代理商管理 -> 代理商信息 ->查找你要发货的代理商，找到id 写入表格即可。
            <br>如果下册快递单号导入出现“第几行，***产品码不正确。”
            <br>   1.产品码跟表格要发货的产品码不符合。
            <br>   2.同一个表格有重复的产品码。
            <br>   3.产品码已经发货。或者不存在。
        </div>
    </div>
    {:build_heading()}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('management/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('management/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('management/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;" class="btn btn-info btn-import {:$auth->check('management/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('快递单号导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-imports {:$auth->check('management/imports')?'':'hide'}" title="{:__('Import')}" id="btn-imports-file" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('下册快递单号导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-import-yz {:$auth->check('management/importyz')?'':'hide'}" title="{:__('有赞')}" id="btn-import-file-yz" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('有赞导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-import-tb {:$auth->check('management/importtb')?'':'hide'}" title="{:__('淘宝')}" id="btn-import-file-tb" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('淘宝导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-import-jd {:$auth->check('management/importjd')?'':'hide'}" title="{:__('京东')}" id="btn-import-file-jd" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('京东导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-import-wd {:$auth->check('management/importwd')?'':'hide'}" title="{:__('微店')}" id="btn-import-file-wd" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('微店导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-import-sq {:$auth->check('management/importsq')?'':'hide'}" title="{:__('社群')}" id="btn-import-file-sq" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('社区导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-import-sc {:$auth->check('management/importsc')?'':'hide'}" title="{:__('上册发货导入')}" id="btn-import-file-sc" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('上册发货导入')}
                        </a>
                        <a href="javascript:;" class="btn btn-info btn-import-jl {:$auth->check('management/importjl')?'':'hide'}" title="{:__('记录')}" id="btn-import-file-jl" data-url="ajax/upload" data-mimetype="xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i> {:__('记录导入')}
                        </a>
                        <div class="dropdown btn-group {:$auth->check('management/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('短信发送')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=0"> <i class="fa fa-hand-scissors-o"></i>{:__('已发货通知 （拆分包裹的情况）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=1"> <i class="fa fa-hand-scissors-o"></i>{:__('已发货通知 （未拆分包裹，未缺书的情况）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=2"> <i class="fa fa-hand-spock-o"></i>{:__('已发货通知 （缺书「学习书」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=3"> <i class="fa fa-hand-spock-o"></i>{:__('已发货通知 （缺书「练习书」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=4"> <i class="fa fa-hand-spock-o"></i>{:__('已发货通知 （缺书「素材书」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=5"> <i class="fa fa-hand-spock-o"></i>{:__('已发货通知 （缺书「年级阅读 」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=6"> <i class="fa fa-hand-spock-o"></i>{:__('已发货通知 （缺书「字词句手册」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=7"> <i class="fa fa-hand-spock-o"></i>{:__('已发货通知 （缺书「教案」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=8"> <i class="fa fa-hand-spock-o"></i>{:__('已发货通知 （缺书「数学」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=9">  <i class="fa fa fa-hand-stop-o"></i>{:__('已发货通知 （补寄「学习书」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=10">  <i class="fa fa fa-hand-stop-o"></i>{:__('已发货通知 （补寄「练习书」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=11">  <i class="fa fa fa-hand-stop-o"></i>{:__('已发货通知 （补寄「素材书」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=12"> <i class="fa fa fa-hand-stop-o"></i>{:__('已发货通知 （补寄「年级阅读 」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=13"> <i class="fa fa fa-hand-stop-o"></i>{:__('已发货通知 （补寄「字词句手册」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=14"> <i class="fa fa fa-hand-stop-o"></i>{:__('已发货通知 （补寄「教案」）')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=15"> <i class="fa fa fa-hand-stop-o"></i>{:__('已发货通知 （补寄「数学」）')}</a></li>
                            </ul>
                        </div>
                        <div class="dropdown btn-group {:$auth->check('management/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('发货导出')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="Excle=1"> <i class="fa fa-hand-scissors-o"></i>{:__('导出Excel')}</a></li>
                            </ul>
                        </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('management/edit')}" 
                           data-operate-del="{:$auth->check('management/del')}" 
                           width="100%">

                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
